package org.hxc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.hxc.dao.SysUserRoleDao;
import org.hxc.entity.SysUserRole;
import org.hxc.service.SysUserRoleService;
import org.hxc.vo.SysUserRoleVo;
import org.springframework.stereotype.Service;

import java.util.Collections;
import java.util.List;

/**
 * 用户角色表(SysUserRole)表服务实现类
 *
 * @author hxc
 * @since 2024-11-07 15:30:34
 */
@Service("sysUserRoleService")
public class SysUserRoleServiceImpl extends ServiceImpl<SysUserRoleDao, SysUserRole> implements SysUserRoleService {

    @Override
    public List<SysUserRoleVo> selectUserRoleVoById(String userId) {
        return getBaseMapper().selectUserRoleVoById(userId);
    }
}

